473,372 Members | 1,065 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,372 software developers and data experts.

Problem installing PHP5 on SuSE 8.2

Hi all,

I've been reading through the lasts months of postings in this
(and some other) newsgroups to find a solution to my PHP problem.

The configuration I use is as follows:

- SuSE v8.2
- Apache 2.0.54
- MySQL 4.1.14
- PHP 5.0.5

Installing the first 3 parts was not a problem at all. Both
Apache and MySQL start just fine. Before I could perform a proper
'configure' of PHP I had to update libxml2, add libxml2-devel and
python but then the following command worked without any errors:

./configure --with-apxs2=/usr/local/httpd/bin/apxs
--with-mysql=/usr

[note: the previous is, of course, a single line]

After this, I used 'make' to compile the stuff and this is where
things go wrong. The following error message is shown:

=============[ start of make-output ]============================
vpsuse:/usr/local/php # make
/bin/sh /usr/local/php/libtool --silent --preserve-dup-deps
--mode=compile gcc -Iext/standard/
-I/usr/local/php/ext/standard/ -DPHP_ATOM_INC
-I/usr/local/php/include -I/usr/local/php/main -I/usr/local/php
-I/usr/include/mysql -I/usr/local/php/ext/xml/expat
-I/usr/local/php/TSRM -I/usr/local/php/Zend -g -O2
-prefer-non-pic -c /usr/local/php/ext/standard/info.c -o
ext/standard/info.lo
/bin/sh /usr/local/php/libtool --silent --preserve-dup-deps
--mode=compile gcc -I/usr/local/httpd/include -DLINUX=2
-D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE
-D_GNU_SOURCE -I/usr/local/httpd/include
-I/usr/local/httpd/include -Isapi/apache2handler/
-I/usr/local/php/sapi/apache2handler/ -DPHP_ATOM_INC
-I/usr/local/php/include -I/usr/local/php/main -I/usr/local/php
-I/usr/include/mysql -I/usr/local/php/ext/xml/expat
-I/usr/local/php/TSRM -I/usr/local/php/Zend -g -O2
-prefer-non-pic -c
/usr/local/php/sapi/apache2handler/sapi_apache2.c -o
sapi/apache2handler/sapi_apache2.lo
In file included from
/usr/local/php/sapi/apache2handler/sapi_apache2.c:39:
/usr/local/httpd/include/ap_config.h:229:16: os.h: No such file
or directory
In file included from /usr/local/httpd/include/util_filter.h:23,
from
/usr/local/php/sapi/apache2handler/sapi_apache2.c:40:
/usr/local/httpd/include/httpd.h:42:16: os.h: No
such file or directory
make: *** [sapi/apache2handler/sapi_apache2.lo]
Error 1
=============[ end of make-output ]==============================

Now, there is indeed no os.h file in the directory
/usr/local/httpd/include but there are a number of them in
subdirectories below /usr/local/httpd/os (for various OSses).
Copying the one from the 'unix' directory does not help.

If I search for 'os.h' and 'no such file or directory' in
combination with php and such, I have seen similar error reports
but no solutions. On the other hand, I can't believe that my
combination of software is so unique, that it would give a lot of
problems.

Any suggestion where things go wrong and how to solve them?????

Regards,

Kees
Kees Pijnenburg - P.O. Box 84 5374 ZG Schayk The Netherlands
kp******@xs4all.nl
Sep 13 '05 #1
0 1461

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

Similar topics

0
by: michael newport | last post by:
I did the following as instructed in the docs. (see below) everything seemed to install ok and I started apache with no complaints, but, 1)I do not see a process for apache using ps -ef 2) In...
2
by: y_oda2002 | last post by:
Hi everyone I was wondering if anyone could help me. I am trying to install ph so that i can learn the code. So far i havent had any problem installing apache. However when i try to get mysql...
5
by: bissatch | last post by:
Hi, I am trying to install Apache and PHP. I have installed apache fine where I can type in http://localhost and it displays the default Apache page. When trying to install PHP I have run the...
1
by: Janne Vuori | last post by:
I have Apache 2.0.54 and PHP 5.0.4 running on XP Professional. Everything is working ok but when I am tryin to add the extension php_ssh2.dll into use the PHP will generate an error message: PHP...
0
by: Josh Berkus | last post by:
Folks, While debugging a wireless card, I came across this interesting bit: http://portal.suse.com/sdb/en/2003/10/pohletz_desktop_90.html What it indicates is that by default SuSE 9.0 plays...
2
by: Alfred | last post by:
I'm about to host a solution for our developers and it will use PHP5 on Suse Enterprise Linux 9 and MS SQL Server API. The developers are kind of green to this. Is this MS SQL Server API fairly...
2
by: Curtis | last post by:
Hello everyone: Recently, I decided to upgrade to PHP 5.2.0. I have C:\php5 in the Windows XP PATH, so upgrading is quite painless; just unzip new release, and restart Apache! Usually it goes...
0
by: =?iso-8859-15?Q?Christian_Schr=F6der?= | last post by:
I want to switch a little app from a box using php4 (Suse 9) to a newer box using php5 (Suse 10). On the older Box, recode_srting() was activaterd by including the recode.so as extension. ...
6
by: michael.schmitz | last post by:
Hello, my tiny PHP5 test application cannot establish a connection to a database while I am able to connect to the same database using the DB2 command line tool. Our server is 64 bit system...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
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: 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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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...

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.