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

Config files omitted when building php-5.2

Hi everybody,

I am building php-5.2.6 with the following options:
.. . . . . . . . . . . . . . . . . . . .
--prefix=/usr --with-mysql=shared,/usr --with-zlib=/usr --with-apxs2 --
with-config-file-path=/etc --with-config-file-scan-dir=/etc/php.d --
with-bz2 --with-db4=/usr --with-layout=GNU
.. . . . . . . . . . . . . . . . . . . .

but when I make install, the /etc/php.d directory is not created and
neither php.ini.

What is missing? Any help will be appreciated.

Regards,

Marco.
---------------------------------------
Freedom is not a permission for chaos.
Aug 4 '08 #1
1 1768

Marco A. Cruz Quevedo wrote:
Hi everybody,

I am building php-5.2.6 with the following options:
. . . . . . . . . . . . . . . . . . . .
--prefix=/usr --with-mysql=shared,/usr --with-zlib=/usr --with-apxs2 --
with-config-file-path=/etc --with-config-file-scan-dir=/etc/php.d --
with-bz2 --with-db4=/usr --with-layout=GNU
. . . . . . . . . . . . . . . . . . . .

but when I make install, the /etc/php.d directory is not created and
neither php.ini.

What is missing? Any help will be appreciated.

Regards,

Marco.
---------------------------------------
Freedom is not a permission for chaos.
After having inserted the MySQLnd driver (downloaded from MySQL.com),
and having followed directions from INSTALL file, I get the following
warning after configure:

.. . . . . . .

Notice: Following unknown configure options were used:

--enable-mysqlnd

Check './configure --help' for available options

.. . . . . . .
And then, after compiling, I got the following errors

.. . . . . . .
/root/lamp/php-5.2.6/ext/mysqli/mysqli_api.c: In function
`mysqli_stmt_bind_param_do_bind':
/root/lamp/php-5.2.6/ext/mysqli/mysqli_api.c:101: error: `gptr'
undeclared (first use in this function)
/root/lamp/php-5.2.6/ext/mysqli/mysqli_api.c:101: error: (Each
undeclared identifier is reported only once
/root/lamp/php-5.2.6/ext/mysqli/mysqli_api.c:101: error: for each
function it appears in.)
/root/lamp/php-5.2.6/ext/mysqli/mysqli_api.c: In function
`zif_mysqli_stmt_execute':
/root/lamp/php-5.2.6/ext/mysqli/mysqli_api.c:709: error: `gptr'
undeclared (first use in this function)
/root/lamp/php-5.2.6/ext/mysqli/mysqli_api.c:781:20: warning: extra
tokens at end of #ifdef directive
make: *** [ext/mysqli/mysqli_api.lo] Error 1
.. . . . . . .

What is missing? Any help will be appreciated

Best regards,

Marco
---
Freedom is not a permission for chaos.
Aug 8 '08 #2

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

Similar topics

4
by: Fuzzyman | last post by:
There have been a couple of config file 'systems' announced recently, that focus on building more powerful and complex configuration files. ConfigObj is a module to enable you to much more *simply*...
3
by: lobrys | last post by:
Hi I am building a dotnet 1.1 app, in VB.net ... I would like to have several config files corresponding to multiple envirronment (Database, local Machine, Application, User...) and overloads...
1
by: Rolf Molini | last post by:
Hello everybody, I put this in a separate thread because altough it is connected to the localization-problem in my former thread this is a completely different "joke" of the IDE. While waiting...
0
by: Matthew | last post by:
I have created two configurations. One is called Release-Internal and one is called Release-External. I also have two config files named Internal.config and External.config. The difference in the...
2
by: lawpoop | last post by:
Hello folks - I'm working on a function to map a php project that's gotten a little unwieldly. I'd like to have a reference of all files like the output of the unix tree command, like this: .....
12
by: dbuchanan | last post by:
Hello, (Is this the proper newsgroup?) === Background === I am building a solution with two projects. One project is my data access layer which contains my DataSet as an xsd file. The XSD...
1
by: =?Utf-8?B?Q2h1Y2sgUA==?= | last post by:
I have an asp.net solution with a web deployment project. When we try to build/debug, we get the message: An editor or project is attempting to check out a file that is modified in memory,...
221
Atli
by: Atli | last post by:
You may be wondering why you would want to put your files “into” the database, rather than just onto the file-system. Well, most of the time, you wouldn’t. In situations where your PHP application...
3
by: =?Utf-8?B?bXVzb3NkZXY=?= | last post by:
Hi I've been reading about various ways in which people can have multiple web.config "sections" for different scenarios (configSource proerty, etc). In my situation, I just have a dev and...
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
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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.