The new installtaion guide for the MySQL gamma doesn't work correctly. I get a folder /usr/local/mysql-test instead of /usr/local/mysql even when I declare the prefix to be /usr/local/mysql. I thought I might let you know. Keep up the wonderful work...
[1] Seth, it works just fine for me, properly installed in /usr/local/mysql, did you have any version of MySQL installed before? Binary form from your distro? If so, have you removed it first? What distro are you running?
[1] I have the same problem but i ran MySQL release 4.0.21
How can i see if i already had another realese installed? and if so how do i remove it/correxct it?
[3] execute this to see if package is installed: rpm -qa | grep mysql ... that will show you full name and version of package installed, next : execute: rpm -e full-package-name and finally, execute: rpm --rebuilddb ...
I have installed (by the guide above) MySQL and still get the same problem. If I install the 4.0.21 I don't (but 4.0.21 doesn't accept the charset declaration). The server was blank (accept for the standard install of gnome, editors, and development tools. BTW I am using Fedora Core 2). I don't know where to go from here. I guess I will just use 4.0.21.
How do I clear the information from the MySQL-gamma? I deleted the folder /usr/local/mysql-test/ (which was created from above) and then installed the 4.0.21 version and now that gives me the /usr/local/mysql-test folder. I tried all of this on a brand new (fresh) machine.
[7] try rpmi, or use Fedora graphical "RPM package tool / Program Installation Tool", called "YaST" under SUSE Linux, to remove any MYSQL, Apache, PHP you may have...
The problem is caused by an error in configure parameter for mysql. You must use --prefix=/usr/local/mysql and NOT --with-prefix=usr/local/mysql. (in 4.1.6gamma) the latter is ignored, and mysql is installed in /usr/local.
If you want to delete the wrong installation, you have to delete manually any mysql-related files into every folder in /usr/local.
(you can do a "good" installation and then see what files are created inside /usr/local/mysql, and then delete allo the file with the same name relative to /usr/local.
I got everything to work correctly except the libjpeg source package. It will not create the a|so. At least that is what the php build tells me. I just took it out. Is that important?
[12] guess you haven't compiled it correctly, doesn't really matter if you are not using scripts like Coppermine Photo Gallery, which require GD2 with JPEG support
When compiling mysql4.1 Gamma in Debian I always get this error, when running ./config What can I do about this?
checking for tgetent in -lncurses... no
checking for tgetent in -lcurses... no
checking for tgetent in -ltermcap... no
checking for termcap functions library... configure: error: No curses/termcap library found
Okay I figured it out...
I went on IRC and some guy told me to install libncurses-dev with apt-get. This cleared up my problem on Debian, thanks! And do post this for all the Debian users who might be wondering about this, thanks!
When compiling php-5.0.2 in RH9, Kernel 2.4.20-8 with --with-gd , the cofiguration is passed but i always get this error when running make command
/usr/local/src/php-5.0.2/ext/gd/libgd/gd_jpeg.c:38:21: jpeglib.h: No such file o
r directory
/usr/local/src/php-5.0.2/ext/gd/libgd/gd_jpeg.c:39:20: jerror.h: No such file or
directory
/usr/local/src/php-5.0.2/ext/gd/libgd/gd_jpeg.c:49: parse error before "cinfo"
...
/usr/local/src/php-5.0.2/ext/gd/libgd/gd_jpeg.c:451: confused by earlier errors,
bailing out
make: *** [ext/gd/libgd/gd_jpeg.lo] Error 1
i have already built jpeg-6b successfully, but can not build gd2. The errors are the same above while compiling gd2, i copied two library files to /usr/local/src/php-5.0.2/ext/gd/libgd/
or change the Makefile
Everything works fine, but the installation of php. It says it doesn't find the file libphp5.so
Here's the error message:
Syntax error on line 233 of /usr/local/apache2/conf/httpd.conf:
Cannot load /usr/local/apache2/modules/libphp5.so into server: /usr/local/apache2/modules/libphp5.so: cannot open shared object file: No such file or directory
The file is not in the entire system, for I have made a
locate libphp5.so
and nothing comes up.
In /usr/local/apache2/modules/ there are three files:
httpd.exp libphp5.a libphp5.la
but the libphp5 is not.
I would appreciate if you give me a clue here.
Thanks
Great site!... Kudos!!!
Installed on Suse9.1 without installing web server. Basic KDE default installation. Compiled as shown here and entire install is working. Only change for Suse9.1 is default home changed from /srv/www/htdocs to suggested /home/www/htdocs. Good documentation through entire process without any errors until Nusphere. Missing one library and found on Suse9.1 disk 2 & 3 ok.
Hello again...
Tried this on Suse 9.2 Pro but not working. There is a conflict with one of the newer libraries. If you go through and run this setup it will kill the KDE desktop. (ack - forced back to command line.) I went back to suse 9.1 and resetup the server. If anyone gets on with the 9.2 version and walks through their setup, please let us know.... It is a simple fix I think as there are newer libraries installed by Suse9.2 and some of these here do not have to be installed. I am continuing to work on this. The 9.2 has the new KDE 3.3...
[27] Hi Herb, I am running SUSE 9.1 with KDE 3.3.0 as well, and custom-built kernel 2.6.9.1-smp. And no problem at all. I am not upgrading to SUSE 9.2 any soon, as I already have the latest components, but, if you find the reason for the problem you are describing, please let me know, I'll be happy to publish that.
I just installed using your instructions on fedora Core 3..(I used mysql 4.0.21 for compatibility)
The only 2 issues I got was I mistakenly thought some of the PHP prerequisite external libraries were installed ok.... They are included in Fedora core but not in the right places it would seem for the php configure. I installed all the libraries as per instruction and this got past those errors.
I then had one other issue with the php configure, jpeglib.h missing as per Ding Quang Dan.... this I resolved by installing the development version of the jpeg-lib.
I am on SUse 9.2 found a Library error on libxml2.6.7 required if you install utilities on top of this it conflicts. I installed then repaired with update and poof had new libxml2 and all installed fine from there on.
However not knowing Linux well when i preview a page i get source not results of php or html pages.
dave
I had problems with running Apache+ssl. The problem was that You should use Listen 0.0.0.0:443 instead of Listen 443, as stated in this how-to. That solved the problem. Hope that helps someone.
Hey Radek,
I am wondering how come ur mysql4.1.9 complied with --with-charset=utf8 option as there is a reported bug on mysql site. http://bugs.mysql.com/bug.php?id=7893... (Primary) http://bugs.mysql.com/bug.php?id=7373...
I hope u wont mind it. I just want to apprise u of problems with mysql 4.1.9. I dont undertsand your language so I dont know what I need to write in text boxes below.
regards,
Nitin
[36] Hi, I'm currently using MySQL 4.1.8, and saw new 4.1.9 to be released, so just replaced the number in this tutorial, without recompilation. Thanks for the insight!
Hey there, wonderfull guide! Everything has gone perfectly up until this point where I try to issue:
/etc/init.d/web start
I get this error:
/etc/init.d/web start
[Sun Mar 27 17:14:59 2005] [warn] module php5_module is already loaded, skipping
httpd: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
/usr/local/apache2/bin/apachectl: line 78: 22090 Illegal instruction $HTTPD -k $ARGV
I've tried stopping, and restarting... stoping yields this:
/etc/init.d/web stop
[Sun Mar 27 18:43:39 2005] [warn] module php5_module is already loaded, skipping
httpd: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
httpd (no pid file) not running
No mysqld pid file found. Looked for /usr/local/mysql/var/jupiter.pid.
restarting yields this:
/etc/init.d/web restart
[Sun Mar 27 18:44:14 2005] [warn] module php5_module is already loaded, skipping
httpd: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
httpd not running, trying to start
/usr/local/apache2/bin/apachectl: line 78: 22187 Illegal instruction $HTTPD -k $ARGV
No mysqld pid file found. Looked for /usr/local/mysql/var/jupiter.pid.
Mainly, my problem is with apache... it doesn't seem to want to start at all. Heres my apachectl. The top line is line 78.
case $ARGV in
start|stop|restart|graceful)
$HTTPD -k $ARGV
ERROR=$?
;;
startssl|sslstart|start-SSL)
$HTTPD -k start -DSSL
ERROR=$?
;;
configtest)
$HTTPD -t
ERROR=$?
;;
status)
$LYNX $STATUSURL | awk ' /process$/ { print; exit } { print } '
;;
fullstatus)
$LYNX $STATUSURL
;;
*)
$HTTPD $ARGV
ERROR=$?
esac
exit $ERROR
Anyone have any idea what's wrong? Fedora Core 3, brand new install, dual pentium iii 500, 1gb ecc ram, wd hard disk (new).
[39] I think you have twice LoadModule php5_module modules/libphp5.so in your httpd.conf, as for the rest, try specify localhost as a ServerName, just for debugging..
rADo, i did have LoadModule php5... in httpd.conf twice. I removed one of the lines and no longer get an error about php already loaded. However, when I try to start apache, even directly, i still get an illigal instruction.... perhaps I did something wrong when compiling? heres the error:
and gcc version:
gcc --ver
Reading specs from /usr/lib/gcc/i386-redhat-linux/3.4.2/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-java-awt=gtk --host=i386-redhat-linux
Thread model: posix
gcc version 3.4.2 20041017 (Red Hat 3.4.2-6.fc3)
and my CFLAGS:
export CFLAGS="-march=pentium3 -mfpmath=sse -msse2 -O2 -pipe -s -fomit-frame-pointer"
cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 7
model name : Pentium III (Katmai)
stepping : 3
cpu MHz : 501.229
cache size : 512 KB
...
The only other abnormality during installation was that after compiling php, i issued 'make install', i would get another illigal instruction. A search on google only revealed one result which mentioned that my error was a bug, and to, get this, reboot the system, untar php again, and recompile. to my amazement, it worked, and turned out to be some error with gcc. i have no idea how it worked, or what it did, but perhaps these two problems are related? heres the lines from the php error if they help, and thanx again for your attention.
I did everything as it wrote above, but I get this error:
"[root@Flatroncomp httpd-2.0.54]# /usr/local/apache2/bin/apachectl start
Syntax error on line 839 of /usr/local/apache2/conf/httpd.conf:
Cannot load /usr/local/apache2/modules/libphp5.so into server: /usr/local/apache2/modules/libphp5.so: cannot restore segment prot after reloc: Permission denied"
That line is: "LoadModule php5_module modules/libphp5.so" I checked, the file is there.
Execllent howto for LAMP! I've been setting up a new server with PHP 5.0.5, MySQL 4.1.14, Apache 2.0.55 running on Fedora Core3. Your guide really helped. Over the next couple weeks I'll try and submit some possible updates to even expand on your GR8 work.
Hi, first of all wonderfull 'howto' and all going fine, except the install of Nusphere, there I get:
Configuring for:
PHP Api Version: 20031224
Zend Module Api No: 20041030
Zend Extension Api No: 220040412
/usr/local/bin/phpize: line 104: aclocal: command not found
./deferphpize: line 22: aclocal: command not found
left default
./deferphpize: line 54: ./configure: no such file or directory
make:*** No targets specified and no makefile found. Stop.
Can anybody help me with figuring out what I am missing???
Everything works fine, but the installation of php. It says it doesn't find the file libphp5.so
Here's the error message:
Syntax error on line 233 of /usr/local/apache2/conf/httpd.conf:
Cannot load /usr/local/apache2/modules/libphp5.so into server: /usr/local/apache2/modules/libphp5.so: cannot open shared object file: No such file or directory
The file is not in the entire system, for I have made a
locate libphp5.so
and nothing comes up.
In /usr/local/apache2/modules/ there are three files:
httpd.exp libphp5.a libphp5.la
but the libphp5 is not.
I would appreciate if you give me a clue here.
Thanks
The new installtaion guide for the MySQL gamma doesn't work correctly. I get a folder /usr/local/mysql-test instead of /usr/local/mysql even when I declare the prefix to be /usr/local/mysql. I thought I might let you know. Keep up the wonderful work...
[1] Seth, it works just fine for me, properly installed in
/usr/local/mysql
, did you have any version of MySQL installed before? Binary form from your distro? If so, have you removed it first? What distro are you running?[1] I have the same problem but i ran MySQL release 4.0.21
How can i see if i already had another realese installed? and if so how do i remove it/correxct it?
[3] execute this to see if package is installed:
rpm -qa | grep mysql
... that will show you full name and version of package installed, next : execute:rpm -e full-package-name
and finally, execute:rpm --rebuilddb
...I have installed (by the guide above) MySQL and still get the same problem. If I install the 4.0.21 I don't (but 4.0.21 doesn't accept the charset declaration). The server was blank (accept for the standard install of gnome, editors, and development tools. BTW I am using Fedora Core 2). I don't know where to go from here. I guess I will just use 4.0.21.
How do I clear the information from the MySQL-gamma? I deleted the folder /usr/local/mysql-test/ (which was created from above) and then installed the 4.0.21 version and now that gives me the /usr/local/mysql-test folder. I tried all of this on a brand new (fresh) machine.
I don't know what to do now.
i am using feodora core 2 to... i didnt find any with rpm -qa | grep mysql... can i just delete the folders and start all over?
[7] try
rpmi
, or use Fedora graphical "RPM package tool / Program Installation Tool", called "YaST" under SUSE Linux, to remove any MYSQL, Apache, PHP you may have...[7] you may also try these:
/sbin/chkconfig --del httpd
and/sbin/chkconfig --del mysql
on Fedora Core 2[1] I got the same error. But I solved it. :)
The problem is caused by an error in configure parameter for mysql. You must use
--prefix=/usr/local/mysql
and NOT--with-prefix=usr/local/mysql
. (in 4.1.6gamma) the latter is ignored, and mysql is installed in /usr/local.If you want to delete the wrong installation, you have to delete manually any mysql-related files into every folder in /usr/local.
(you can do a "good" installation and then see what files are created inside /usr/local/mysql, and then delete allo the file with the same name relative to /usr/local.
[10] oh, you're right, my small typo. Fixed now. Thanks!!
I got everything to work correctly except the libjpeg source package. It will not create the a|so. At least that is what the php build tells me. I just took it out. Is that important?
[12] guess you haven't compiled it correctly, doesn't really matter if you are not using scripts like Coppermine Photo Gallery, which require GD2 with JPEG support
[13] I did just as explained above...
[14] I double-tried to compile it again, with no problem.. Guess some distro, tool-related, problem.
I am still getting this error:
configure: error: libjpeg.(a|so) not found.
I don't know what to do.
When compiling mysql4.1 Gamma in Debian I always get this error, when running ./config What can I do about this?
checking for tgetent in -lncurses... no
checking for tgetent in -lcurses... no
checking for tgetent in -ltermcap... no
checking for termcap functions library... configure: error: No curses/termcap library found
What does this mean and how can I get around it?
Okay I figured it out...
I went on IRC and some guy told me to install libncurses-dev with apt-get. This cleared up my problem on Debian, thanks! And do post this for all the Debian users who might be wondering about this, thanks!
Also when installing Apache2 on Debian I found that I need to apt-get install zlib1g-dev because they don't call the zlib package the same thing.
[16] just do one of the following commands, the error will be tripped.
#ln -s /usr/local/src/jpeg-6b/libjpeg.a /usr/lib/libjpeg.a
or
#cp /usr/local/src/jpeg-6b/libjpeg.a /usr/lib
refer to:
/etc/ld.so.conf
Dear all,
When compiling php-5.0.2 in RH9, Kernel 2.4.20-8 with --with-gd , the cofiguration is passed but i always get this error when running make command
/usr/local/src/php-5.0.2/ext/gd/libgd/gd_jpeg.c:38:21: jpeglib.h: No such file o
r directory
/usr/local/src/php-5.0.2/ext/gd/libgd/gd_jpeg.c:39:20: jerror.h: No such file or
directory
/usr/local/src/php-5.0.2/ext/gd/libgd/gd_jpeg.c:49: parse error before "cinfo"
...
/usr/local/src/php-5.0.2/ext/gd/libgd/gd_jpeg.c:451: confused by earlier errors,
bailing out
make: *** [ext/gd/libgd/gd_jpeg.lo] Error 1
i have already built jpeg-6b successfully, but can not build gd2. The errors are the same above while compiling gd2, i copied two library files to /usr/local/src/php-5.0.2/ext/gd/libgd/
or change the Makefile
GDLIB_CFLAGS = -I/usr/local/src/php-5.0.2/ext/gd/libgd -DHAVE_LIBPNG -DHAVE_LIBJPEG -I/usr/local/src/jpeg-6
But nothing done, if i compile without gd support, it works fine...
anyone built successfully and help me???
Thanks in advance,
Dan.
Hello.
I think that This document is really necessary for Apache2 and PHP 5 and MySQL 4.1 install.
please agree that my translation to korean and upload to Korean web site with this site URL and Writer.
anyway. Thank you for support good information like this document.
[22] of course, go ahead, with proper credit given :-)
Everything works fine, but the installation of php. It says it doesn't find the file libphp5.so
Here's the error message:
Syntax error on line 233 of /usr/local/apache2/conf/httpd.conf:
Cannot load /usr/local/apache2/modules/libphp5.so into server: /usr/local/apache2/modules/libphp5.so: cannot open shared object file: No such file or directory
The file is not in the entire system, for I have made a
locate libphp5.so
and nothing comes up.
In /usr/local/apache2/modules/ there are three files:
httpd.exp libphp5.a libphp5.la
but the libphp5 is not.
I would appreciate if you give me a clue here.
Thanks
Thank you for putting this document on the web. I find it extremely helpful. After I make and then make install apache I see this:
bin]# httpd -l
Compiled-in modules:
http_core.c
mod_so.c
suexec: enabled; valid wrapper /usr/sbin/suexec
bin]#
Which is not what I expect. I was expecting a long-ish list of the installed modules. Does anyone have any advice?
Great site!... Kudos!!!
Installed on Suse9.1 without installing web server. Basic KDE default installation. Compiled as shown here and entire install is working. Only change for Suse9.1 is default home changed from /srv/www/htdocs to suggested /home/www/htdocs. Good documentation through entire process without any errors until Nusphere. Missing one library and found on Suse9.1 disk 2 & 3 ok.
Good documentation and many thank-you's...!
Has anyone installed Mambo on this setup?
Regards
Herb
Hello again...
Tried this on Suse 9.2 Pro but not working. There is a conflict with one of the newer libraries. If you go through and run this setup it will kill the KDE desktop. (ack - forced back to command line.) I went back to suse 9.1 and resetup the server. If anyone gets on with the 9.2 version and walks through their setup, please let us know.... It is a simple fix I think as there are newer libraries installed by Suse9.2 and some of these here do not have to be installed. I am continuing to work on this. The 9.2 has the new KDE 3.3...
Thank you again Radek for your work here...
Herb
[27] Hi Herb, I am running SUSE 9.1 with KDE 3.3.0 as well, and custom-built kernel 2.6.9.1-smp. And no problem at all. I am not upgrading to SUSE 9.2 any soon, as I already have the latest components, but, if you find the reason for the problem you are describing, please let me know, I'll be happy to publish that.
I just installed using your instructions on fedora Core 3..(I used mysql 4.0.21 for compatibility)
The only 2 issues I got was I mistakenly thought some of the PHP prerequisite external libraries were installed ok.... They are included in Fedora core but not in the right places it would seem for the php configure. I installed all the libraries as per instruction and this got past those errors.
I then had one other issue with the php configure, jpeglib.h missing as per Ding Quang Dan.... this I resolved by installing the development version of the jpeg-lib.
All works great now... thanks for the help
[29] Nigel, I have migrated today from SUSE 9.1 to Fedora Core 3 and had no problems compiling all stuff as described, ie. without any mods to scripts
I am on SUse 9.2 found a Library error on libxml2.6.7 required if you install utilities on top of this it conflicts. I installed then repaired with update and poof had new libxml2 and all installed fine from there on.
However not knowing Linux well when i preview a page i get source not results of php or html pages.
dave
This is one of a GR8 Doclet i ever seen my life.
Thanks for your help...
I had problems with running Apache+ssl. The problem was that You should use Listen 0.0.0.0:443 instead of Listen 443, as stated in this how-to. That solved the problem. Hope that helps someone.
excellent howto. compiled on SuSE9.2 without any errors. great work :o)
This is a great howto. Everything went fine for me on FC2, except that when I try and open localhost/db/ I get the following error:
Fatal error: Call to undefined function PMA_reloadNavigation() in /home/www/phpMyAdmin-2.6.1/header.inc.php on line 132
Any thoughts?
Thanks!
Hey Radek,
I am wondering how come ur mysql4.1.9 complied with --with-charset=utf8 option as there is a reported bug on mysql site.
http://bugs.mysql.com/bug.php?id=7893... (Primary)
http://bugs.mysql.com/bug.php?id=7373...
I hope u wont mind it. I just want to apprise u of problems with mysql 4.1.9. I dont undertsand your language so I dont know what I need to write in text boxes below.
regards,
Nitin
[36] Hi, I'm currently using MySQL 4.1.8, and saw new 4.1.9 to be released, so just replaced the number in this tutorial, without recompilation. Thanks for the insight!
being a wind...(sorry I wont swear!) man myself, recently getting hold of a machine to run linux was awsome and im loving every moment of it!!
Thank you for making this awsome tutorial/walk-through!
Choc of eWales.info
Hey there, wonderfull guide! Everything has gone perfectly up until this point where I try to issue:
/etc/init.d/web start
I get this error:
/etc/init.d/web start
[Sun Mar 27 17:14:59 2005] [warn] module php5_module is already loaded, skipping
httpd: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
/usr/local/apache2/bin/apachectl: line 78: 22090 Illegal instruction $HTTPD -k $ARGV
I've tried stopping, and restarting... stoping yields this:
/etc/init.d/web stop
[Sun Mar 27 18:43:39 2005] [warn] module php5_module is already loaded, skipping
httpd: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
httpd (no pid file) not running
No mysqld pid file found. Looked for /usr/local/mysql/var/jupiter.pid.
restarting yields this:
/etc/init.d/web restart
[Sun Mar 27 18:44:14 2005] [warn] module php5_module is already loaded, skipping
httpd: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
httpd not running, trying to start
/usr/local/apache2/bin/apachectl: line 78: 22187 Illegal instruction $HTTPD -k $ARGV
No mysqld pid file found. Looked for /usr/local/mysql/var/jupiter.pid.
Mainly, my problem is with apache... it doesn't seem to want to start at all. Heres my apachectl. The top line is line 78.
case $ARGV in
start|stop|restart|graceful)
$HTTPD -k $ARGV
ERROR=$?
;;
startssl|sslstart|start-SSL)
$HTTPD -k start -DSSL
ERROR=$?
;;
configtest)
$HTTPD -t
ERROR=$?
;;
status)
$LYNX $STATUSURL | awk ' /process$/ { print; exit } { print } '
;;
fullstatus)
$LYNX $STATUSURL
;;
*)
$HTTPD $ARGV
ERROR=$?
esac
exit $ERROR
Anyone have any idea what's wrong? Fedora Core 3, brand new install, dual pentium iii 500, 1gb ecc ram, wd hard disk (new).
[39] I think you have twice
LoadModule php5_module modules/libphp5.so
in yourhttpd.conf
, as for the rest, try specifylocalhost
as a ServerName, just for debugging..rADo, i did have LoadModule php5... in httpd.conf twice. I removed one of the lines and no longer get an error about php already loaded. However, when I try to start apache, even directly, i still get an illigal instruction.... perhaps I did something wrong when compiling? heres the error:
/usr/local/apache2/bin/httpd -k start
Illegal instruction
and gcc version:
gcc --ver
Reading specs from /usr/lib/gcc/i386-redhat-linux/3.4.2/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-java-awt=gtk --host=i386-redhat-linux
Thread model: posix
gcc version 3.4.2 20041017 (Red Hat 3.4.2-6.fc3)
and my CFLAGS:
export CFLAGS="-march=pentium3 -mfpmath=sse -msse2 -O2 -pipe -s -fomit-frame-pointer"
cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 7
model name : Pentium III (Katmai)
stepping : 3
cpu MHz : 501.229
cache size : 512 KB
...
The only other abnormality during installation was that after compiling php, i issued 'make install', i would get another illigal instruction. A search on google only revealed one result which mentioned that my error was a bug, and to, get this, reboot the system, untar php again, and recompile. to my amazement, it worked, and turned out to be some error with gcc. i have no idea how it worked, or what it did, but perhaps these two problems are related? heres the lines from the php error if they help, and thanx again for your attention.
[root@jupiter ~]#
[root@jupiter ~]# cd /usr/local/src/php-5.0.3
[root@jupiter php-5.0.3]#
[root@jupiter php-5.0.3]# make install
Installing PHP SAPI module: apache2handler
/usr/local/apache2/build/instdso.sh SH_LIBTOOL='/usr/local/apache2/build/libtool' libphp5.la /usr/local/apache2/modules
/usr/local/apache2/build/libtool --mode=install cp libphp5.la /usr/local/apache2/modules/
cp .libs/libphp5.so /usr/local/apache2/modules/libphp5.so
cp .libs/libphp5.lai /usr/local/apache2/modules/libphp5.la
libtool: install: warning: remember to run `libtool --finish /usr/local/src/php-5.0.3/libs'
chmod 755 /usr/local/apache2/modules/libphp5.so
[activating module `php5' in /usr/local/apache2/conf/httpd.conf]
Installing PHP CLI binary: /usr/local/bin/
Installing PHP CLI man page: /usr/local/man/man1/
Installing PEAR environment: /usr/local/lib/php/
make[1]: *** [install-pear-installer] Illegal instruction
make: *** [install-pear] Error 2
[root@jupiter php-5.0.3]# rm -R *
rm: remove regular file `acconfig.h'? y
rm: remove regular file `acconfig.h.in'?
[root@jupiter php-5.0.3]#
[41] try fine-tuning (=simplify) your
EXPORT CFLAGS
options, and update your Fedora Core 3 to the latest version of gcc, here's my ownyum.conf
: http://myego.cz/item/fedora-core-3-pro-lamy-prvotni-instalace...Hi Radek,
would it be okay for you if i translate this documentation to german? If yes let me know.
thx,
komaii
[43] I'll be glad, just give me the credit in your translation, and link to this (original) article. Thanks :-)
I did everything as it wrote above, but I get this error:
"[root@Flatroncomp httpd-2.0.54]# /usr/local/apache2/bin/apachectl start
Syntax error on line 839 of /usr/local/apache2/conf/httpd.conf:
Cannot load /usr/local/apache2/modules/libphp5.so into server: /usr/local/apache2/modules/libphp5.so: cannot restore segment prot after reloc: Permission denied"
That line is: "LoadModule php5_module modules/libphp5.so" I checked, the file is there.
[21]
Install libjpeg-devel
THIS IS GODDEST TUTORIAL!
Fantastic document. One of the gr8's
i transtaled this in german with credit from readek.
here the link:
http://www.himml.com/komaii/apache-2-0-54-ssl-php-5-0-4-mysql-5.04beta-on-SuSE.html...
Execllent howto for LAMP! I've been setting up a new server with PHP 5.0.5, MySQL 4.1.14, Apache 2.0.55 running on Fedora Core3. Your guide really helped. Over the next couple weeks I'll try and submit some possible updates to even expand on your GR8 work.
Hi, first of all wonderfull 'howto' and all going fine, except the install of Nusphere, there I get:
Configuring for:
PHP Api Version: 20031224
Zend Module Api No: 20041030
Zend Extension Api No: 220040412
/usr/local/bin/phpize: line 104: aclocal: command not found
./deferphpize: line 22: aclocal: command not found
left default
./deferphpize: line 54: ./configure: no such file or directory
make:*** No targets specified and no makefile found. Stop.
Can anybody help me with figuring out what I am missing???
Everything works fine, but the installation of php. It says it doesn't find the file libphp5.so
Here's the error message:
Syntax error on line 233 of /usr/local/apache2/conf/httpd.conf:
Cannot load /usr/local/apache2/modules/libphp5.so into server: /usr/local/apache2/modules/libphp5.so: cannot open shared object file: No such file or directory
The file is not in the entire system, for I have made a
locate libphp5.so
and nothing comes up.
In /usr/local/apache2/modules/ there are three files:
httpd.exp libphp5.a libphp5.la
but the libphp5 is not.
I would appreciate if you give me a clue here.
Thanks