Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 07-05-2003, 02:01 AM   #1
Registered: Jun 2002
Location: White House, Washignton DC
Distribution: Red Hat 9
Posts: 270

Rep: Reputation: 30
Question PHP Installation Error

Hi Guys,
I am trying to install PHP 4.3.2 form source but when I try to 'make it' I get the following error:

ln: creating hard link `ctype.o' to `ctype.lo': Operation not permitted

I am using :

./configure --with-mysql --with-apxs2=/usr/local/apache2/bin/apxs
to get the make file

Any ideas whats happening here?

Thankx in advance...
Old 07-05-2003, 05:59 AM   #2
Registered: Aug 2002
Distribution: Slackware 8.1
Posts: 750

Rep: Reputation: 30
use that tuorial to make your Apache+PHP work
# Move to /usr/local
cd /usr/local
# Get the following source:

# Decompress the sources:
tar -xvzf openssl-0.9.7.tar.gz
tar -xzvf mod_ssl-2.8.12-1.3.27.tar.gz
tar -xvzf apache_1.3.27.tar.gz
tar -xvzf php-4.3.0.tar.gz
tar -xvzf mysql-3.23.55.tar.gz
tar -xvzf gd-2.0.11.tar.gz
# Compile the sources:
cd gd-2.0.11
cd ../mysql-3.23.55
make install
adduser mysql
# In the file /etc/login.access add this line:
# So the user mysql never actualy logs in
# For Slackware:
chown -R mysql.users /usr/local/var
# For Redhat:
chown -R mysql.mysql /usr/local/var
safe_mysqld --user=mysql &
# Hit <Enter>
mysqladmin -u root password 'yourpasswordhere'
cd ../openssl-0.9.7
sh config -fPIC
# If you get a "Not enough room for program headers" error here,
# install the LATEST version of binutils.
cd ../mod_ssl-2.8.12-1.3.27
./configure --with-apache=../apache_1.3.27
cd ../apache_1.3.27
SSL_BASE=../openssl-0.9.7 \
./configure --prefix=/usr/local/apache --enable-module=most \
 --enable-shared=max --enable-module=ssl --enable-shared=ssl
# Note: There is a Redhat bug that complains about
# durning the Apache `make` proccess. Adding the configuration
# switch --disable-module=auth_dbm to the end of the ./configure line
# will fix it.
make certificate
# If you presently have a module you should make a backup:
cp /usr/local/apache/libexec/ /usr/local/apache/libexec/
# If you have a file called /usr/local/apache/conf/httpd.conf already you
# should make a backup:
mv /usr/local/apache/conf/httpd.conf /usr/local/apache/conf/httpd.conf.was
# This way you'll get a fresh httpd.conf with all your Apache modules listed
# and 100% loadable.
# Don't worry if your web server is presently running. The httpd.conf file
# is only read by the httpd binary when starting the web server.
make install
cd ../php-4.3.0
./configure \
 --with-apxs=/usr/local/apache/bin/apxs \
 --with-config-file-path=/usr/local/apache/conf \
 --enable-versioning \
 --with-mysql=/usr/local \
 --enable-ftp \
 --with-gd=/usr/local/gd-2.0.11 \
 --enable-bcmath \
 --disable-debug \
 --enable-memory-limit=yes \
make install
# Make sure you have, Uncomment (remove the #'s), Change or Create
# the following lines in the file /usr/local/apache/conf/httpd.conf
LoadModule php4_module        libexec/
AddModule mod_php4.c
<IfModule mod_dir.c>
DirectoryIndex index.html index.php index.php3 index.phtml
    # And for PHP 4.x, use:
AddType application/x-httpd-php .php .php3 .phtml
AddType application/x-httpd-php-source .phps
cp /usr/local/php-4.3.0/php.ini-dist /usr/local/apache/conf/php.ini
# Start Apache:
/usr/local/apache/bin/apachectl startssl
# Create a file in /usr/local/apache/htdocs called index.php
<head><title>PHP Test Page</title></head>
<? phpinfo(); ?>
# Point your Web Browser at:
Old 07-05-2003, 03:13 PM   #3
Registered: Jun 2002
Location: White House, Washignton DC
Distribution: Red Hat 9
Posts: 270

Original Poster
Rep: Reputation: 30
Nopes ...
same error.......
Why does it say "operation not permitted"......

Thankx in advance...


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP Installation Error Raggit Linux - Software 9 07-30-2008 11:18 PM
How to add options in after installation of PHP? touqeeransar Linux - Software 1 11-30-2005 04:52 AM
PHP parse error in Confusedious Linux - Software 2 11-03-2005 05:08 AM
php installation gubak Linux - Networking 1 08-18-2004 01:16 PM
php-4.3.4 installation jules_fraser Linux - Software 0 12-14-2003 05:15 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:26 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration