473,221 Members | 1,736 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,221 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 1240


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...
1
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...
0
by: veera ravala | last post by:
ServiceNow is a powerful cloud-based platform that offers a wide range of services to help organizations manage their workflows, operations, and IT services more efficiently. At its core, ServiceNow...
0
by: VivesProcSPL | last post by:
Obviously, one of the original purposes of SQL is to make data query processing easy. The language uses many English-like terms and syntax in an effort to make it easy to learn, particularly for...
0
by: mar23 | last post by:
Here's the situation. I have a form called frmDiceInventory with subform called subfrmDice. The subform's control source is linked to a query called qryDiceInventory. I've been trying to pick up the...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
0
Git
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....

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.