Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
10-16-2003, 01:50 PM #1
- Join Date
- Jul 2002
- Thanked 0 Times in 0 Posts
Installing php on UnixWare Server
I've just about given up on trying to install php on our UnixWare server. Listed below is what I've done/had to do so far. This is the first time I've had a play with php, so I'm not really worried at the moment about all the extras it can do (mysql etc.), I just want to install it, have a play and compare it to Perl (which I usually use).
First I downloaded php4-4.1.2.pkg from caldera.com
pkgadd of that went fine, stuck the relevant lines in apache (version 1.3.14)
Restart of apache complains about missing postgressql, so I downloaded that (even though I'm not interested in it), postgresq-7.2.pkg again from caldera.com
next complaint (from apachectl configtest) is about mysql (missing libmysqlclient.so.6), downloaded and installed mysql-3.23.49.pkgwith pkgadd, but done nothing to activate it, which gave me a libmysqlclient.a but no .so.6 file. for a laugh, I tried to symbolically link the .a to .so.6 but as it's not an elf file, I got an error about that.
If anyone has any ideas on how I can get just php installed using a pkgadd without lots of prerequisites, I'd be really grateful. (I started this process with an attempted src install but compile errors halted that approach).
10-17-2003, 10:00 AM #2
- Join Date
- May 2002
- Perth Australia
- Thanked 92 Times in 90 Posts
I have no experience with pkgadd , but its weird that postgreSQL would be configured into any PHP build as default.
locate your php.ini & check for any enabled extensions [ extension=php_pgsql.so; /*etc*/ ] , and disable them all , MySQL will be built in so you can't disable it if thats what PHP was compiled with.
so it really is worth rolling your own if possible , PHP does not demand too much from your system..
What compile errors are you getting ? , try a real basic install first ./configure --with-apxs=/path/to/apache/bin/apxs , or even ./configure for a cgi binary (& cli) , that way MySQL nor PostgreSQL nor any other extensions should be an issue.
if that works then work your way up.
MVC is the current buzz in web application architectures. It comes from event-driven desktop application design and doesn't fit into web application design very well. But luckily nobody really knows what MVC means, so we can call our presentation layer separation mechanism MVC and move on. (Rasmus Lerdorf)