LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-09-2004, 08:29 AM   #1
demmylls
Member
 
Registered: Aug 2003
Location: AT
Distribution: Fedora Core 3
Posts: 404

Rep: Reputation: 30
cant compile php-4.3.4 in redhat9


i was compiling php-4.3.4

# cd php-4.3.4
# ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql

i got this :

Generating files
sed: can't read Documentations/php-4.3.4/scripts/Makefile.frag: No such file or directory
sed: can't read Documentations/php-4.3.4/pear/Makefile.frag: No such file or directory
sed: can't read Documentations/php-4.3.4/Makefile.frag: No such file or directory
cat: /mystuff/apache: Is a directory
cat: and: Is a directory
cat: Documentations/php-4.3.4/Makefile.global: No such file or directory
...
cat: ./main/internal_functions.c.in: No such file or directory
+--------------------------------------------------------------------+
| *** WARNING *** |
| |
| You chose to compile PHP with the built-in MySQL support. If you |
| are compiling a server module, and intend to use other server |
| modules that also use MySQL (e.g, mod_auth_mysql, PHP 3.0, |
| mod_perl) you must NOT rely on PHP's built-in MySQL support, and |
| instead build it with your local MySQL support files, by adding |
| --with-mysql=/path/to/mysql to your configure line. |
+--------------------------------------------------------------------+
| License: |
| This software is subject to the PHP License, available in this |
| distribution in the file LICENSE. By continuing this installation |
| process, you are bound by the terms of this license agreement. |
| If you do not agree with the terms of this license, you must abort |
| the installation process at this point. |
+--------------------------------------------------------------------+
| *** NOTE *** |
| The default for register_globals is now OFF! |
| |
| If your application relies on register_globals being ON, you |
| should explicitly set it to on in your php.ini file. |
| Note that you are strongly encouraged to read |
| http://www.php.net/manual/en/securit...terglobals.php |
| about the implications of having register_globals set to on, and |
| avoid using it if possible. |
+--------------------------------------------------------------------+

Thank you for using PHP.

[root@localhost php-4.3.4]# make
make: *** No rule to make target `Documentations/php-4.3.4/sapi/apache2handler/sapi_apache2.c', needed by `sapi/apache2handler/sapi_apache2.lo'. Stop.

what should i do?


i haved httpd-2.0.48 compiled and installed successfully using this
# ./configure --prefix=/usr/local/apache2
# make
# make install

i dont install the rpm from redhat9 of httpd
 
Old 02-09-2004, 01:37 PM   #2
demmylls
Member
 
Registered: Aug 2003
Location: AT
Distribution: Fedora Core 3
Posts: 404

Original Poster
Rep: Reputation: 30
yeh!
i have successfully compiled and installed php in my system now i can run php server.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
I can't compile Kylix3(c++) on RedHat9 songzq Programming 0 02-19-2005 11:21 PM
compile php with gd ? sonaatti Slackware 3 11-29-2004 10:46 AM
I cannot compile my souce code created by Glade on redhat9 msramachandran Programming 0 06-02-2004 02:13 AM
Redhat9 and PHP canzi Linux - Software 1 02-07-2004 11:33 PM
Compile php grubjo Linux - Software 7 09-09-2002 03:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:54 PM.

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