macsat.com OpenWrt and ASUS WL Forum
January 08, 2009, 10:44:55 AM
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
: Back to
macsat.com
Home
Help
Search
Login
Register
macsat.com OpenWrt and ASUS WL Forum
>
OpenWrt (White Russian)
>
OpenWRT
>
/etc/php.ini missing in RC6
Pages: [
1
]
Go Down
« previous
next »
Print
Author
Topic: /etc/php.ini missing in RC6 (Read 1501 times)
0 Members and 1 Guest are viewing this topic.
Jochenf
Newbie
Offline
Posts: 17
/etc/php.ini missing in RC6
«
on:
November 10, 2006, 08:46:43 AM »
I installed the PHP package in OpenWRT RC6 and I'm wondering why there is no /etc/php.ini. Is this normal?
Logged
macsat
Administrator
Sr. Member
Online
Posts: 1,104
Re: /etc/php.ini missing in RC6
«
Reply #1 on:
November 10, 2006, 09:41:50 AM »
did you install to /opt ?
Then it is in /opt/etc
You should make symlink.
Code:
ln -s /opt/etc/php.ini /etc/php.ini
Logged
Jochenf
Newbie
Offline
Posts: 17
Re: /etc/php.ini missing in RC6
«
Reply #2 on:
November 10, 2006, 10:43:09 AM »
No, I installed to /.
Maybe this file is missing in RC6. This would not be the first package which is broken in RC6.
Can I download this file somewhere? I don't want to remove my otherwise functioning package and install it from RC5, just to get this sole file.
Logged
macsat
Administrator
Sr. Member
Online
Posts: 1,104
Re: /etc/php.ini missing in RC6
«
Reply #3 on:
November 10, 2006, 11:48:57 AM »
Try to google for: php.ini example or something like that.
Logged
Jochenf
Newbie
Offline
Posts: 17
Re: /etc/php.ini missing in RC6
«
Reply #4 on:
November 10, 2006, 17:15:04 PM »
I found that it is easy to analyze the package files. The .ipk files are really .tar.gz files and can be unpacked with tar. They contain two .tar.gz files, one for data and one for control files. It is easy to examine and extract the data file with tar.
The php5-cgi package from RC6 is really broken, it does not contain the /etc/php.ini. The same file from RC5 does it.
It looks like many of the RC6 packages lost some files. The lighttpd misses three shared libraries.
Next problem: php.ini from RC5 does not work together with RC6. Any phpscript (even the phpinfo()) prints "No input file specified".
«
Last Edit: November 10, 2006, 17:35:56 PM by Jochenf
»
Logged
Pages: [
1
]
Go Up
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
ASUS WL 500-g WL-500gx WL-300g and WL-HDD help
-----------------------------
=> Misc. Talk
=> Talk about macsat.com
-----------------------------
Oleg's Firmware
-----------------------------
=> Oleg's Firmware
=> Tutorials
-----------------------------
OpenWrt (White Russian)
-----------------------------
=> OpenWRT
=> DD-WRT
=> Tutorials
-----------------------------
OpenWrt Kamikaze
-----------------------------
=> Firmware
=> Tutorials
-----------------------------
SMC EZ Connect Storage (SMCWAPS-G), Micronica MGB100 Wi-Fi Hard Disk, Level One WAP-0007 and compatible
-----------------------------
=> Firmware
Loading...