Sponsored Content
Full Discussion: Apache/Unix
Top Forums UNIX for Dummies Questions & Answers Apache/Unix Post 2813 by cpk0 on Tuesday 5th of June 2001 08:29:56 PM
Old 06-05-2001
ok, aparently when i try to start apache from terminal, it says the php module is garbled, and the instructions i was following warned against that, hwo do i reinstall php, can i just do it again and have it over write the garbled files?
 

7 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Apache!

How do you tell which apache version is currently running. the situation is that I got multiply httpd.conf files on a solaris 2.6 server and I need to tell which version is what? I have checked the httpd.conf but no joy Thanks in Advance (3 Replies)
Discussion started by: hassan2
3 Replies

2. IP Networking

Apache

I want to have multiple domains to be configured in apache web server on redhat linux can i have that without DNS server configured. What all i have to do for that.What all to configure ? And importantly i want the site be accessed by name rather IP address. Please help me ... (1 Reply)
Discussion started by: Vijayanand
1 Replies

3. UNIX for Dummies Questions & Answers

running apache on unix

Hi, I am running an application on apache/tomcat under unix. It was working fine until I stopped both tomcat and apache and restarted both. Now I am getting 404 not found error. Is there something here that I am missing. Any help will be appreciatd. Thx Karthik (1 Reply)
Discussion started by: kkarthik
1 Replies

4. Shell Programming and Scripting

Apache Help..

I have properly installed Apache server 2.0 on Linux redhat9 and its working fine and showing its test page from LAN Computers. Now i want to change the directory of apache so it can show my webpages. Can anyone tell me where i can do that ????? Please help in detail because i am facing... (1 Reply)
Discussion started by: wakhan
1 Replies

5. Programming

Problem with Perl script after moving from a Windows/Apache Server to a UNIX server.

I have a Perl script that worked fine before moving it to justhost.com. It was on a Windows/Apache server. Just host is using UNIX. Other Perl scripts on other sites that were also moved work fine so I know Perl is functioning. The script is called cwrmail.pl and is located in my cgi-bin. When I... (9 Replies)
Discussion started by: BigBobbyB
9 Replies

6. Web Development

Apache module development on apache 2.2

Hi, I'm new to developing modules for Apache. I understand the basics now and can develop something simple which allows a 'GET' request to happen, but what I want to do is actually 'POST' information to my site. I know the basic POST Request works and I can see that it is post by looking at... (2 Replies)
Discussion started by: fishman2001
2 Replies

7. Red Hat

Process not running: /opt/java15/jdk/bin/java -classpath /opt/apache/apache-ant-1.7.0-mod/lib/ant-la

Have no idea on what the below error message is: Process not running: /opt/java15/jdk/bin/java -classpath /opt/apache/apache-ant-1.7.0-mod/lib/ant-launcher.jar org.apache.tools.ant.launch.Launcher -buildfile build.xml dist. Any help? (3 Replies)
Discussion started by: gull05
3 Replies
PHAR.SETSTUB(3) 							 1							   PHAR.SETSTUB(3)

Phar::setStub - Used to set the PHP loader or bootstrap stub of a Phar archive

SYNOPSIS
public bool Phar::setStub (string $stub, [int $len = -1]) DESCRIPTION
Note This method requires the php.ini setting phar.readonly to be set to 0 in order to work for Phar objects. Otherwise, a PharException will be thrown. This method is used to add a PHP bootstrap loader stub to a new Phar archive, or to replace the loader stub in an existing Phar archive. The loader stub for a Phar archive is used whenever an archive is included directly as in this example: <?php include 'myphar.phar'; ?> The loader is not accessed when including a file through the phar stream wrapper like so: <?php include 'phar://myphar.phar/somefile.php'; ?> PARAMETERS
o $stub - A string or an open stream handle to use as the executable stub for this phar archive. o $len - RETURN VALUES
Returns TRUE on success or FALSE on failure. ERRORS
/EXCEPTIONS UnexpectedValueException is thrown if phar.readonly is enabled in php.ini. PharException is thrown if any problems are encountered flushing changes to disk. EXAMPLES
Example #1 A Phar.setStub(3) example <?php try { $p = new Phar(dirname(__FILE__) . '/brandnewphar.phar', 0, 'brandnewphar.phar'); $p['a.php'] = '<?php var_dump("Hello");'; $p->setStub('<?php var_dump("First"); Phar::mapPhar("brandnewphar.phar"); __HALT_COMPILER(); ?>'); include 'phar://brandnewphar.phar/a.php'; var_dump($p->getStub()); $p['b.php'] = '<?php var_dump("World");'; $p->setStub('<?php var_dump("Second"); Phar::mapPhar("brandnewphar.phar"); __HALT_COMPILER(); ?>'); include 'phar://brandnewphar.phar/b.php'; var_dump($p->getStub()); } catch (Exception $e) { echo 'Write operations failed on brandnewphar.phar: ', $e; } ?> The above example will output: string(5) "Hello" string(82) "<?php var_dump("First"); Phar::mapPhar("brandnewphar.phar"); __HALT_COMPILER(); ?>" string(5) "World" string(83) "<?php var_dump("Second"); Phar::mapPhar("brandnewphar.phar"); __HALT_COMPILER(); ?>" CHANGELOG
+--------+------------------------+ |Version | | | | | | | Description | | | | +--------+------------------------+ | 5.4.0 | | | | | | | Added $len parameter. | | | | +--------+------------------------+ SEE ALSO
Phar.getStub(3), Phar.createDefaultStub(3). PHP Documentation Group PHAR.SETSTUB(3)
All times are GMT -4. The time now is 12:29 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy