Standalone DB (like Access) For PHP/Apache
I am in the process of translating an WIndows/ASP/MsSQL Content
Managment System (CMS) to Linux/PHP/???.
Is there a popular database I can use that will allow standalone files
like Access did (which used .MDB files)?
In order for the CMS to work, there needs to be a standalone database
file that is self-contained, just like Access .mdb files are under
Windows. I guess I am asking for an Access equivalent for
Linux/Apache.
View Complete Forum Thread with Replies
Related Forum Messages:
Access Apache VirtualHosts From Same Box Or From Lan?
I went into hosts file in win2k (all computers), and entered the lan nic's ip address and domain vhost names and aliases, I also put the virtualhost statements in apache's httpd.conf file. Thanks, Just what I was looking for. Works just fine. Virtual hosts "name-based", what is the correct way to do this. In apache, I used a *:80 in the vhost statements, to keep the ip wide open, but with win2k, how do I keep the name-based vhost mode going? What to which files hosts?
View Replies !
Access Denied For User 'apache'@'localhost'
I am trying to write a script that will connect to my MySQL database using PHP. The problem is that instead of trying to log in as the user I specified, it is the user 'apache' that is trying to log into the database. Error message: Code:
View Replies !
Standalone Problem
I've set up PHP 4 with Apache on an intel/Redhat 6.2 linux box with no network interface. Using URL PHP code with the .php extension works fine, but php code in html documents does nothing. In fact, view source shows the php code on the browser.
View Replies !
Multithreading For Standalone Php
I'm trying to write a mutlithreading server with standalone PHP. Concurrent requests is possible. Normally it is done by handling each socket spawn by serversocket in separate threads. But it seems that there is no thread support in PHP at all. Would anyone give me some suggestions? BTW, is the community considering add thread support to PHP in the future? What is the major difficulty to import an existing thread library (such as pthread library) into PHP
View Replies !
Standalone Program
I'm going to be doing a program for an elderly couple who owns a horse ranch, and wants some software to keep track of all their horses, owners, doctors, etc. I'm going to be writing the program in PHP using a MySQL database. I set up one like this for my work and it runs off of Apache on our server. I need this program to be a stand-alone install, without installing MySQL, PHP, and Apache seperately. How could I go about integrating it all into one package?
View Replies !
Standalone PHP Installation
I have never installed PHP before. It's always been set up for me. I have a client whose site is hosted as a virtual server. I'm trying to set up ecom for him, but the mhash library is not installed. So I use fopen to open a script on my website that hashes the variables. Obviously, this is not ideal because if my site goes down his ecom will too. I asked the tech people at his hosting company to set that up, but they said they don't do custom compilations. "As per compiling PHP with --with-mhash=[DIR] this is how that works: any custom compilations, custom applications, etc. are up to the user to compile and install. Use gcc/etc. to compile PHP with the options that you like. The php.ini in /etc is available for your customization as well. If you compile your own binary of PHP, you can place it where you like (or leave it at the default) and get the paths updated to use it, or you can obviously use it directly if necessary." I was planning on compiling a new, minimalist version of PHP (with just mhash) in a different directory, but I'm hesitant to do it in case I get unexpected results (I don't want to take the rest of his site down). Can anyone tell me if this sounds feasible? What kind of pitfalls can I expect? And can anyone recommend a tutorial? Most of the tutorials I've found assume you have root access and/or are compiling PHP/Apache together. I was also wondering if it would be possible to just compile the mhash library and add it to php.ini? That seems to be the simplest thing, though I don't know if it would work...
View Replies !
Php Install Standalone
I need to install php like standalone. can somebody say me that way to install it like standalone on linux, with support for mysql, apache and oci8?
View Replies !
Standalone Sig Generator
I currently have my sig generator running, the problme Im facing is that it outputs like this http://mysite.com/image.php?sigimage.png I need to have it out put like this -> http://mysite.com/image.png?sigimage.png or something like it because a lot of sites do not allow image.php. Code:
View Replies !
Standalone Apps And Php
I have a project in mind for a library management system which I would like to try building with php/mysql. Are there any Delphi-like IDE apps out there that would do the job? Can the code be compiled into an executable?
View Replies !
Standalone Solution
I was asked to write a database solution for a friend.. it was supposed to do the normal add/retrieve/modify/search functions of a databse. i started with vb6 then decided to use php/sql. I might sound really dumb and ignorant but the question is... if i want to "package" this to him... how can i do this without having to personally go and install a webserver and php and sql and the rest so he can use it just through his web browser? can i use an installer that will allow it to be packaged so after the install he would just have to open the databsae through his browser?
View Replies !
PHP Standalone: Charset Setting
I'm simply using PHP as a programming language, and I just want to print some text information to stdout, but instruction print "é" (é) does not print my "e" with an accent in the shell window: wrong charset. How to set the correct charset?
View Replies !
Standalone Executable File
I downloaded the tarball and while was able to compile within PHP with no problems, I am having memory timeout issues involving image manipulation with extremely large images (800K - 2mb). Requirements are to create thumbnails for even these banner-sized images, but PHP + GD + [huge image] = too much memory. I'm trying to prove that it is undoable, though the suggestion was to do a command-line GD call to the image instead of using the PHP functions to do so to save some memory; if it still times out, then it's undoable altogether. However, I cannot find the standalone executable file that will ensure I can run GD from the command line.
View Replies !
Submit Standalone Programs With Php
I'm building an application which submits scheduled php jobs. The way I would like it to work is to have one php program to submit the other php programs on a scheduled basis. This control program shouldn't have to wait until one job finishes before it can start the next one; instead, it should be able to submit all the jobs in one go, but it also needs to be able to be informed of the return codes of the submitted programs so dependent programs can be submitted too. I've looked at the exec() and system() commands, but they either don't seem to allow return codes to be returned from a submitted program to the submitter program or they unconditionally print anything the submitted programs produce.
View Replies !
Where Can I Find The GD Library Standalone Executable File?
I downloaded the tarball and while was able to compile within PHP with no problems, I am having memory timeout issues involving image manipulation with extremely large images (800K - 2mb). Requirements are to create thumbnails for even these banner-sized images, but PHP + GD + [huge image] = too much memory. I'm trying to prove that it is undoable, though the suggestion was to do a command-line GD call to the image instead of using the PHP functions to do so to save some memory; if it still times out, then it's undoable altogether. However, I cannot find the standalone executable file that will ensure I can run GD from the command line.
View Replies !
Allow Users Access FTP Access Through A Browser.
I simply want to allow users access FTP access through a browser. However, I'm using a hosting company with cPanel and in order to set up an FTP account that only gives access to a specific subfolder on my account, a username is generated with an "@" in it. (ex. user@mydomain.com). This makes it impossible for to just enter the info into the address bar (in the form of ftp://user@mydomain.com@www.mydomain.com) because once the browser sees that first "@" sign, everything goes to heck... I've tried to just get the browser to prompt the user for the login info - which it does just fine everywhere I've tried it - but my client's computer is not doing it. I don't like telling clients to change setting on their machines, or install software (like FTP clients), because then I become tech support instead of just a web developer. I don't like the associated liability... Sooo - what I want to be able to do to solve all these problems is create a simple form that collects the server, username, and password; processes the info with PHP; BUT THEN just directs them into their FTP folder via the browser. What I'm finding is that everyone who has developed a PHP FTP login script has also developed some convoluted interface to go with it and they're either way too complicated for my needs, or they simply don't work. All I want to be able to do is allow users to input their username - with an "@" in it - and password, and then see the same thing that someone would see using the simple ftp://user:password@domain.com method.
View Replies !
Apache 2.0 And Php
I was wondering if anyone has had any luck getting php to compile and work with apache 2.0. i use apache tool box to compile it but they dont have support for it yet. if anyone has compiled and tested it with the previouse beta's or rc's any info would be awesome!!!
View Replies !
CGI Vs Apache
Is there any difference on how PHP is wrote based on the server type? I have been using PHP on an Apache module and I just started using a CGI module but I am getting a lot of errors, mainly "Variable undefined" and when I tried to add records to a MYSQL database, I received this error: "CGI Error The specified CGI application misbehaved by not returning a complete set of HTTP headers.
View Replies !
Php 4.2.0 And Apache 1.3.24
Why can't I run apps like phpnuke, postnuke, xoops, phpwebsite, etc.? I have tried them all seriously and always get the same effects. When I try to install either of them the pages never change even with register_globals On. Was I suppose to upgrade apache to 2.0.35 for compatibility issues?
View Replies !
Php 5.04 With Apache 2.0.54
I can build php 5.04 with apache 1.33 statically with the apache configuration option: --activate-module=src/modules/php5 How can I build php 5.04 with apache 2.0.54 statically? It seems that the information I have only shows how to build php as a dynamical module of apache.
View Replies !
PHP And Apache 2.0
I am installing Apache 2.0 with PHP. On top of PHP I plan on installing netjuke. I am having problems and have a strange issue: the following works: <? phpinfo(); ?> but the following does not worl. the source code appears on the page as if it is not being processed. <?php phpinfo(); ?>
View Replies !
Apache In Win Xp
I already installed Apache, Mysql and PHP (last version for each one) into my system running Win Xp. “All running ok” When I run scrip “A” my data lost; it didn’t print. Code:
View Replies !
Apache + PHP
I have installed Apache apache_2.0.52-win32-x86-no_ssl.msi and PHP php-4.3.10-Win32 on windows 2000 professional . I also get success in installeing both of them , but when i am trying to run apache C:/localhost on my mozilla or internet explorer browser , i am not able to get the default page, i don't know why its not working. I am a new learner of PHP and for the learning process i want to download it as soon as possible.
View Replies !
Anyone Using HP-UX With Apache, PHP And OCI?
I'm searching for someone who's using HP-UX 11.x with Apache and PHP with the OCI8 extension (for accessing Oracle). I'm having some issues while running this and would like to exchange some information. my environment is: HP-UX 11.11 Apache/2.0.49 from the hpuxwsApache package PHP 4.3.4 as included in that package OCI8 as included in that package (I also tried Apache 2.0.52 with PHP 4.3.8 but that didn't make a difference) when I'm enabling OCI8, Apache works fine, but the commandline PHP fails (and I need that as I have background processes, generating some reports). The error is: PHP Warning: Unknown(): Unable to load dynamic library '/opt/hpws/apache/php/lib/php/extensions/oci8.sl' - Can't find path for shared library: libclntsh.sl.8.0 in Unknown on line 0 after finding http://bugs.php.net/bug.php?id=13151 I managed to solve this by setting: export LD_PRELOAD=$ORACLE_HOME/JRE/lib/PA_RISC/native_threads/libjava.sl and now also PHP from the commandline works fine as well. but I've no clue if this is a good solution or there's a better way. but now I'm running into an issue with LDAP: ldap_bind() fails from a PHP script run from the commandline, while exactly the same code works perfectly fine through Apache - and it also works fine from the commandline when removing the LD_PRELOAD setting - but that removes the OCI8 functionality again... so I'm feeling stuck having the choice between LDAP and OCI8 - but my scripts uses both... (FUP to comp.sys.hp.hpux)
View Replies !
Apache 2.0.48 And PHP 4.3.4?
I'm currently running Apache 1.3.27 on Debian Woody with a PHP backport (version 4.3.4), together with Apache-SSL 1.3.27. I have been considering upgrading to Apache 2.0.48 which I now believe is recommended for production. However what is the status of the interoperability with PHP? I have read on the PHP site that it is not recommended to run Apache 2.0 with PHP but does this refer to the latest revisions or the initial release?
View Replies !
Help With PHP And APACHE
I'm using PHP and Apache. How do you configure Apache so that it allows the use of php and session data. I get the following error: Warning: session_start(): open(/tmpsess_ed0b0c6b9b2d32d64172373bd8a6bcaf, O_RDWR) failed: No such file or directory (2) in c:orcl_asapacheapachehtdocsforumuserauth.php on line 5 On my php.ini file, i specifiy that location of for the session data to session.save_path = "C:/temp"
View Replies !
PHP And Apache
I am trying to set up a Web site I am building so that it works like this: When someone goes to: www.runningback.com/reg The "reg" get's passed into index.php as an argument and index.php is executed. I can pick up "reg" in index.php using $_SERVER['PATH_INFO']. But right now what happens is the url is not recognized by Apache 1.3 and so gives me an error. If I call www.runningback.com it calls index.php just fine, but not when I want to pass in an augument. I'm trying to make user friendly urls.
View Replies !
Apache 1.3 + PHP 4.x + SSL
I've never implemented a secure server before - and I now have a project for it - It will be an Apache 1.3 environment tuned with PHP and MySQL - and I'd appreciate any comments/advice/note from folk who have done similar. I have my application working fine in a non-SSL environment and believe the switch-over should not be too difficult. But... Can someone confirm the following: My LAMP (Linux, Apache, MySQL and PHP) sit all on the same server - I only require SSL between client and server therefore I believe I do not need to tune PHP/MySQL - true/false? I have the following modules compiled in my Apache httpd Compiled-in modules: http_core.c mod_vhost_alias.c mod_env.c mod_log_config.c mod_mime.c mod_negotiation.c mod_include.c mod_dir.c mod_cgi.c mod_actions.c mod_alias.c mod_access.c mod_auth.c mod_unique_id.c mod_so.c mod_setenvif.c mod_ssl.c mod_php4.c suexec: enabled; valid wrapper /opt/apache/bin/suexec I believe I have everything I need already compiled in - true/false? Is it sufficient for me just to edit the my httpd.conf file under the heading 'SSL Virtual Host Context' and tune accordingly? Since my server sits behind an external firewall, and since the only services will be ssh and apache listening, would one consider that reasonably secure? Can anyone recommend any other steps I might consider? Since Apache/PHP sit on the same server as MySQL I plan on having them use sockets (pipes?) and not tcp/ip port 3306 - I've not done this before either but believe it gives added security and performance benifits -
View Replies !
PHP & Apache
I am having problems getting PHP and Apache to "talk" with one another. Does anyone know of a good website that can show me how to get this done without a lot of pain?
View Replies !
Php Apache
I tried to run php with Apache in windows. But Apache doesn't recognize the PHP file and returns an alert box to save a file. i knew that i need to have a line AddType application/x-httpd-php. php in httpd.conf under conf directory or apache installed directory. But this doesn't work.
View Replies !
PHP 4.3.4 And Apache 2.0.48
I am looking at updating my apachce 1.3.27 to 1.3.29 and was wondering if this would be a good time to make a leap to 2.0.48. I mainly run PHP under apache and remember some time ago someone telling me that apache 2.x had some issues with php. I was wondering if someone would give me some feedback on this?
View Replies !
Apache
Am I correct in assuming that if I have installed Apache on the computer I am designing my website on that I would not have to upload my files to my server to see if they worked? I could test them on my computer. I know this is a pretty basic question and I have done a lot of reading and research lately but I have not seen the answer to this question. Maybe I am not reading the right stuff.
View Replies !
Apache Vs IIS
I have both Apache and IIS servers running on my system. I know I can set Apache to recognize PHP. What do I need to do to set up IIS? My operating system is WIN XP Pro.
View Replies !
Apache & PHP & NT/2k3
I am running FC4 & apache2.something & php 5.0.5, i would like to use my windows NT domain to authenticate logins and ensure that users are automaticly logged in with their network username. However, not sure what to do now... i have tried to find a NTLM module for apache (which i assume i can use in .htaccess) or SSPI which seems to be a IIS only module. I cannot use LDAP as an authentication method as windows wont automaticly fill this in if the client is on my domain. Recap: need an answer as to how to authenticate against my domain and allow auto logins (understand thats php coded however, no point talkin code till apache does it.
View Replies !
Apache & PHP
we're having trouble running .php files on our site, they just appear to be coming up blank pages, (may be due to the apache2->php->mysql interface) anyone had this problem?
View Replies !
Apache 2.0.48+Php 4.3.4+Aix 4.3.3
I'm trying to compile this version of apache with php support on Aix 4.3.3ML11. I use gcc 3.2.1 compiler and all seems to go right. But when i try to access to a php page apache shows segmentation fault.
View Replies !
Apache SSL
I want to install an Apache SSL server, what will i need for this, i have been looking around for info on this i have found several programs that are 4 apache 1.3, i have apache 2.XXXX what would i use to make this possible.
View Replies !
Apache.exe
Should I be seeing Apache.exe running (twice) when I ctrl/alt/delete under processes? I have apache installed on my XP home machine, but it's not started. When I do start it up, I have 3 apache.exe listed running under processes, surely this isn't right?
View Replies !
Apache/PHP .dll
I just installed Apache and PHP, and I thought everything was okay. Then I opened the text file for apache, and put the "LoadModule php5_module php/php5apache.dll" near the module section. However, whenever I restart Apache, it says that file can't be found.
View Replies !
Apache And PHP
I finally was able to get the Apache server setup on my laptop thanks to the great tutorial written by henry0 in this form. Now I have a question that may seem simple to some. Where do i save my html documents and php documents for veiwing and testing? Would it be better to setup folders to mimick my online server as in includes and images also in what every folder i need to access and test them thru .
View Replies !
+ GD On Apache
I am struggling with getting GD working with PHP and Apache. PHP+GD seems to work fine. If I run test php script from command line and redirect to a png file, I can load the image on a browser. The problem is, I can't get it to work with Apache. When I do a phpinfo(), GD is NOT loaded. My apache config is: LoadModule php5_module modules/libphp5.so AddHandler php5-script php I tried setting PHPIniDir, LD_LIBRARY_PATH etc, but somehow Apache refuses to load GD. It does work with other php scripts.
View Replies !
Apache 1.3.27 And 4.3.4
The situation is i have an rh 7.1 box, i know it's not mine though, that has apache 1.3.27 on it in the form of what i presume is an rpm, it's actually on a vps system. Apache was built with dso support as well as php4 which was also installed, then mhash was to be added. A source version of php4.3.4 was downloaded and installed with mhash support, and now not only does this not work, but apache is no longer processing php pages! In the httpd.conf file there are references to if defined php, php3, and php4, and the index line has index.php and index.php3 and other variants as pages, and AddHandlers are also in for php, but whenever a page is pulled up php code is displayed.
View Replies !
PHP With Apache
I'm using the mod_auth_basic type in order to allow people to log in to view pages php pages on my Apache 2.2 server. Is it possible to somehow access the username variable from mod_auth_basic so that I can have the username displayed on my pages after they have logged in?
View Replies !
PHP 5.2.3 And Apache 2.2.4
I would like to ask for help for installing PHP 5.2.3 and Apache 2.2.4. This is the first time that I will be using this applications. I have installed it using the default settings of the windows installer. I have followed the installation process from the sites. Unfortunately I kept getting the 404 message. Can some one guide me through this? I don't know if I'm not configuring something in the conf or theres a bug in configuration that I need to fix.
View Replies !
CLI And Apache API
Executing phpinfo() from the command line and on the browser reveal that the CLI and Apache API have different config statements. How would I resolve this? I would like the CLI API to have the same config as the Apache API.
View Replies !
|