Req #60075 [NEW]: using -t /myPath does not add /myPath to include_path
| From: | paul dot a dot norman at gmail dot com | Date: | Mon, 17 Oct 2011 07:59:22 +0000 |
| Subject: | Req #60075 [NEW]: using -t /myPath does not add /myPath to include_path | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-164369@lists.php.net to get a copy of this message | ||
From:
Operating system: Win32
PHP version: 5.4.0beta1
Package: Built-in web server
Bug Type: Feature/Change Request
Bug description:using -t /myPath does not add /myPath to include_path
Description:
------------
If the php internal server is launched using php -S localhost:8001 -t
/myPath
server_process.php
and server_process.php is in /myPath the following would result
Warning: Unknown: failed to open stream: No such file or directory in
Unknown on
line 0
Fatal error: Unknown: Failed opening required 'server_process.php'
(include_path='.;C:\php\pear') in Unknown on line 0
Obviously using: ... -t /myPath /myPath/server_process.php
works as expected,
but it would seem intuitive that when using:
php -S localhost:8001 -t something
that "something" would be automatically added to the include_path ?
P.S. the php internal server is a brilliant addition, facilitates making
virtual
desktop applications in the browser a cinch! Allows the leveraging of
browser
technology jQuery and all the rest with php on the client -- very
powerful!!!
Add in http://gluescript.sourceforge.net/
http://gtk.php.net/ or simillar
for
local wxWdiget dialogues called as necessary from php
http://php.net/manual/en/function.system.php
and an almost complete
powerful
solution is available.
Paul
--
Edit bug report at https://bugs.php.net/bug.php?id=60075&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=60075&r=trysnapshot54
Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=60075&r=trysnapshot53
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=60075&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=60075&r=fixed
Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=60075&r=needdocs
Fixed in release: https://bugs.php.net/fix.php?id=60075&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=60075&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=60075&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=60075&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=60075&r=support
Expected behavior: https://bugs.php.net/fix.php?id=60075&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=60075&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=60075&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=60075&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=60075&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=60075&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=60075&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=60075&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=60075&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=60075&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=60075&r=mysqlcfg