Please Help me about php&apache2 onSol10


 
Thread Tools Search this Thread
Operating Systems Solaris Please Help me about php&apache2 onSol10
# 1  
Old 05-15-2011
Please Help me about php&apache2 onSol10

Ok. I'm have Apache2 build on Solaris10 release 10/9 and I installed Mysql that could work. but I install php5 by pkgadd this packet install in /usr/local/php and i edit httpd.conf Insert "LoadModule php5_module libexec/libphp5.so" after edited httpd.conf so i restart httpd by svcadm but the state is maintenance and i look at /var/svc/log/network-http:apache2.log
message show "
Code:
Syntax error on line 281 of /etc/apache2/httpd.conf:
Cannot load /usr/apache2/libexec/libphp5.so into server: ld.so.1: httpd:open failed: No such file or directory
[ May 15 10:14:03 Method "start" exited with status 1 ]
[ May 15 10:14:03 Executing start method ("/lib/svc/method/http-apache2 start")

" and i find libsybdb.so.5 packet in google and some website suggest
download freetds-0.82 install on my system but after installed libphp5.so not haven't i don't know how solve my problem Please me to find out this problem Thank You everybody So much and I regrad


***Sorry in my english skill is poor**

Last edited by pludi; 05-16-2011 at 04:32 AM..
# 2  
Old 05-16-2011
You need to use an absolute pathname to load the php module, like
Code:
LoadModule php5_module /usr/local/php/libexec/libphp5.so

Check, if this is the correct path and change it if it is different on your system.

To have the sybase functions available, PHP must be configured at compile time accordingly. You may have to compile your own PHP version to get sybase support.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

SFTP Shell Script Get & Delete && Upload & Delete

Hi All, Do you have any sample script, - auto get file from SFTP remote server and delete file in remove server after downloaded. - only download specify filename - auto upload file from local to SFTP remote server and delete local folder file after uploaded - only upload specify filename ... (3 Replies)
Discussion started by: weesiong
3 Replies

2. Shell Programming and Scripting

PHP read large string & split in multidimensional arrays & assign fieldnames & write into MYSQL

Hi, I hope the title does not scare people to look into this thread but it describes roughly what I'm trying to do. I need a solution in PHP. I'm a programming beginner, so it might be that the approach to solve this, might be easier to solve with an other approach of someone else, so if you... (0 Replies)
Discussion started by: lowmaster
0 Replies

3. Web Development

[php] webpage with login & mysql-db

Hi all, What I was looking for before was a multi-user password manager, web-based! The offer of free or cheap tools of this kind is very pover. Or they are too complex (or too expensive) I'm not a web programmer but I now decided to set up a (php) website with login and based on this login... (1 Reply)
Discussion started by: thibautp
1 Replies

4. Web Development

Confused maybe about MySQL Dump & PHP

Hello. the purpose of my efforts right now are to get a larger script of mine (which the admin told me he'd put into cron for me) to properly back-up my MySQL database. To test out the sql back-up part (before getting the whole script into cron, and having it not work) I wanted to test it. So... (12 Replies)
Discussion started by: jzacsh
12 Replies

5. Web Development

apache2 & two php versions, how to use specific version

Hi all, I have my Debian web server, where apache2 and php 5.2.0 are installed from debian package. It worked fine, both in CLI & Browser. Recently i installed the php 5.2.9 from the source. To verify it i executed the "php --version" and it is showing 5.2.9 . But in the browser still it is... (19 Replies)
Discussion started by: thegeek
19 Replies

6. Shell Programming and Scripting

Books on PHP & APACHE

Can anybody please suggest me a good book to learn PHP and Apache. I want to use it for general programming and espeacially as front end tool for INFORMIX RDBMS. The book should guide me from the basics, as I am a beginer for PHP & Apache on SUSE Linux 9.0. (1 Reply)
Discussion started by: V.V.KUMAR
1 Replies

7. UNIX for Dummies Questions & Answers

enable php & java support in apache

Hello guys, I am in desperate need for this information: I have an apache server running on linux (suse 8.1) I am unable to run php or java code on it, and I wonder what is wrong. for the php case, the browser asks me how he should treat the file, namely download it to my local drive or... (5 Replies)
Discussion started by: bionicfysh
5 Replies

8. Shell Programming and Scripting

PHP & MySQL: sort desending and print

How do i get php to sort the times in a table and print order desending. eg: in the table i have: 02:60.00 02:70.00 02:20.00 02:50.00 in that order in a table how do i get php & mysql to print... (1 Reply)
Discussion started by: perleo
1 Replies

9. UNIX for Dummies Questions & Answers

PHP & Apache & MySQL install how-to ?

how do i install php & mysql with apache on suse linux ??? apache was installed and configured when i installed linux. all its files are in different folders. e.g http files in usr/local/httpd/htdocs/ and its configs are in etc/httpd/ so how do i install php and get it to work with apache and... (4 Replies)
Discussion started by: perleo
4 Replies

10. UNIX for Dummies Questions & Answers

Linux/Unix/PHP/MySQL & servers?

Hello everyone! First I would like to say that I am very glad that I found this forum, and by some of the posts I have viewed, I see that I can learn a lot from you all! Secondly, I know next to nothing about Linux/Unix (gotta learn sometime right?) and need some assistance. I am a... (5 Replies)
Discussion started by: kolton
5 Replies
Login or Register to Ask a Question