473,386 Members | 1,734 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

can't get 5.0.4 to work

Sorry, this is going to be a silly question, but I've been fighting it
since Saturday...

I'm installing on an iBook, so Mac OS-X. I get this.. 'PHP Version
4.3.11' when running phpinfo(). I download the source for 5.0.4,
configure it ..

../configure --with-pgsql=/usr/local/pgsql

I then make && make install, and the installation finishes successfully.
Following the instructions in the INSTALL file, I then edit my
httpd.conf file, as follows ..

LoadModule php5_module libexec/httpd/libphp5.so
AddModule mod_php5.c

(the first line is after I altered it, as there's no *.o file in
libexec)

I try to start apache ..

/usr/sbin/apachectl start
Syntax error on line 240 of /etc/httpd/httpd.conf:
Cannot load /usr/libexec/httpd/libphp5.so into server: (reason unknown)
/usr/sbin/apachectl start: httpd could not be started

A find reveals that this file doesn't exist anywhere on the machine..

Help! :-(

...
--
spam
Jul 17 '05 #1
2 1247


spam wrote:
Sorry, this is going to be a silly question, but I've been fighting it
since Saturday...

I'm installing on an iBook, so Mac OS-X. I get this.. 'PHP Version
4.3.11' when running phpinfo(). I download the source for 5.0.4,
configure it ..

./configure --with-pgsql=/usr/local/pgsql .... A find reveals that this file doesn't exist anywhere on the machine..


--with-apxs=<path to apxs>

might help. On my Solaris box, the problem later is caused by
missing .libs directory (libtool broken? -- the directory should be
'lib'). I also need to copy the php cli binary by hand (only the
wrapper scripts are installed by 'make install'. This has been
happening since about 4.3.9 or something.

/m
Jul 17 '05 #2
Marcin Dobrucki <Ma*************@TAKETHISAWAY.nokia.com> wrote:
spam wrote:
Sorry, this is going to be a silly question, but I've been fighting it
since Saturday...

I'm installing on an iBook, so Mac OS-X. I get this.. 'PHP Version
4.3.11' when running phpinfo(). I download the source for 5.0.4,
configure it ..

./configure --with-pgsql=/usr/local/pgsql

...
A find reveals that this file doesn't exist anywhere on the machine..


--with-apxs=<path to apxs>

might help. On my Solaris box, the problem later is caused by
missing .libs directory (libtool broken? -- the directory should be
'lib'). I also need to copy the php cli binary by hand (only the
wrapper scripts are installed by 'make install'. This has been
happening since about 4.3.9 or something.


It was an 'RTFM' moment, I'm afraid.. if I'd scrolled further down the
INSTALL file, I'd have seen the Mac-OSX section. Mea culpa...

Still, it's a wonderful moment when you first create a table from within
a script, rather than having to type it out by hand. Much like losing
one's virginity, or passing one's driving test...

Thanks for the advice.

--
spam
Jul 17 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

22
by: The Road To Utopia | last post by:
Here's one for the trolls...a common jibe from them is setting up audio/video hardware under linux. Ok, true story: at work today, someone asked me if I could tell him why his XP Home would play...
119
by: rhat | last post by:
I heard that beta 2 now makes ASP.NET xhtml compliant. Can anyone shed some light on what this will change and it will break stuff as converting HTML to XHTML pages DO break things. see,...
12
by: lkrubner | last post by:
Is there any reason why this code wouldn't prompt someone to save their work every 5 minutes? It doesn't seem to be working. This code shows up in the HEAD of an HTML document. function...
1
by: Lyle Fairfield | last post by:
I created a new MS-SQL Database, "TestODBC". I made Table1 and StoredProcedure1. I made an ODBC DSN for that MS-SQL Database. I created a new AccessXP mdb, "TestODBC". I linked to the...
5
by: MGFoster | last post by:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I've converted an ACC97 .mdb file to an ACC2K2 .adp. A report that worked in ACC97 doesn't work in ACC2K2. Report setup: ACC97 ...
9
by: kernelxu | last post by:
hi, everyone. now, I'am confused on such a problem: function setbuf(stdin, NULL) or setvbuf(stdin, NULL, _IONBF, 0) can set the stadard input stream unbuffered. however, why does my program...
1
by: Larry | last post by:
These is a interface " IPerson" and a class "SoftwareDeveloper" support the interface; public __gc __interface IPerson { void Eat(); void Sleep(; void Work();
9
by: tshad | last post by:
I have an example I copied from "programming asp.net" (o'reilly) and can't seem to get the Sub (writefile) to execute. It displays all the response.write lines that are called directly, but not...
15
by: Adam J. Schaff | last post by:
I have noticed that if a user closes a form via pressing return (either while the OK button has focus or if AcceptButton is set to OK for the form) then the "ENTER" keypress event fires ON THE...
6
by: scottyman | last post by:
I can't make this script work properly. I've gone as far as I can with it and the rest is out of my ability. I can do some html editing but I'm lost in the Java world. The script at the bottom of...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.